package org.hzero.order.infra.constant;

/**
 * @author xiuiqng.Yang-Estelle-양수청
 * @date 2019/8/8 9:29
 */

public enum OrderStatus {

    NEW(1, "新建"),
    SUBMITED(2, "已提交"),
    APPROVED(3, "已审批"),
    REJECTED(4, "已拒绝"),
    CLOSED(5, "已关闭"),
    NOT_EXIST(6, "不存在此状态")
    ;
    int code;
    String desc;


    public String getDesc() {
        return desc;
    }

    OrderStatus(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
